//
//  HBBaseRefreshRequest.m
//  HeartBeat
//
//  Created by karong on 2023/8/23.
//

#import "HBBaseRefreshRequest.h"

@implementation HBBaseRefreshRequest
@synthesize page;
@synthesize loading;
@synthesize haveMore;
@synthesize totalCount;
@synthesize reponseObject;
- (void)loadSuccess:(回调一个数组)success withArray:(NSArray *)array {
    self.haveMore = array.count >= 10;
    self.page++;
    self.loading = NO;
    success(array);
}
@end
